#ifndef _softuart_h
#define _softuart_h


#define SOFT_UART_BAUD 22

// 22 = 38400

#define SOFT_UART_ENABLE_TX 	1
//      -------
	#define SOFT_UART_TX 			PD4
	#define SOFT_UART_TX_DDR 		DDRB
	#define SOFT_UART_TX_PIN 		PINB
	#define SOFT_UART_TX_PORT 		PORTB



	/*
	 * Initilize Software Uart
	 */
	void SoftUartInit();

	/*
	 *  Send a single byte.
	 */
	void SoftUart_putc(uint8_t theByte);

	/*
	 * Send a string
	 */
	void SoftUart_puts(char* str);

#endif
